.PHONY:all
all:c++pthread pthread

c++pthread:c++pthread.cc
	g++ -o $@ $^ -std=c++11 -lpthread
pthread:pthread.hpp
	g++ -o $@ $^ -std=c++11 -lpthread
.PHONY:clean
clean:
	rm -rf c++pthread